<%@ Import Namespace="FourRoads.Links" %>
<%@ Register TagPrefix="FRL" Namespace="FourRoads.Links.Controls" Assembly="FourRoads.Links" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Control Language="C#" %>
<div id="InsertLink" class="CommonFormArea">
	<h2 class="CommonFormTitle"><FRL:ResourceLabel id="Resourcelabel1" resourceFile="ResLinkResources.xml" resourcename="ResLinkInsert_Title"
			runat="server"></FRL:ResourceLabel></h2>
	<p><FRL:ResourceLabel id="Resourcelabel2" resourceFile="ResLinkResources.xml" resourcename="ResLinkInsert_Subtext"
			runat="server"></FRL:ResourceLabel></p>
	<table>
		<tr>
			<td nowrap class="CommonFormFieldName"><FRL:ResourceLabel id="Resourcelabel3" resourceFile="ResLinkResources.xml" resourcename="ResLinkInsert_TitleEdt"
					runat="server"></FRL:ResourceLabel>
				<asp:requiredfieldvalidator id="TitleVal" runat="server" errormessage="The Title is a required field" controltovalidate="TitleEdt">*</asp:requiredfieldvalidator></td>
			<td colspan="2" nowrap align="left" class="CommonFormField" ><asp:textbox runat="server" id="TitleEdt" maxlength="50" width="15em"></asp:textbox>
			</td>
		</tr>
		<asp:PlaceHolder ID="MyCustomPropsInsert" Runat="server"></asp:PlaceHolder>
		<tr>
			<td nowrap class="CommonFormFieldName"><FRL:ResourceLabel id="Resourcelabel4" resourceFile="ResLinkResources.xml" resourcename="ResLinkInsert_DescriptionEdt"
					runat="server"></FRL:ResourceLabel>
				<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" errormessage="The Description is a required field."
					controltovalidate="DescriptionEdt">*</asp:requiredfieldvalidator></td>
			<td colspan="2" nowrap align="left" class="CommonFormField">
				<CS:Editor Width="550" height="200" runat="Server" id="DescriptionEdt" /></td>
		</tr>
		<tr>
			<td nowrap class="CommonFormFieldName"><FRL:ResourceLabel id="Resourcelabel5" resourceFile="ResLinkResources.xml" resourcename="ResLinkInsert_LinkURLEdt"
					runat="server"></FRL:ResourceLabel>
				<asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" errormessage="The Link URL apears not to be valid"
					controltovalidate="URLEdt" validationexpression="^(http|https|ftp)\://([a-zA-Z0-9\.\-]+(\:[a-zA-Z0-9\.&amp;%\$\-]+)*@)?((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+)(\:[0-9]+)?((/|/[^/][a-zA-Z0-9\.\,\?\'\\/\+&amp;%\$#\=~_\-@]*))*$">*</asp:regularexpressionvalidator></td>
			<td colspan="2" nowrap align="left" class="CommonFormField"><asp:textbox runat="server" id="URLEdt" maxlength="255" width="30em"></asp:textbox></td>
		</tr>
		<tr>
			<td nowrap></td>
			<td nowrap align="left"></td>
			<td></td>
		</tr>
		<tr>
			<td colspan="3" align="left" nowrap>
				<asp:button id="Update" runat="server" text="Update"></asp:button>
				<asp:button id="Insert" runat="server" text="Insert"></asp:button>
				<asp:button id="Cancel" CausesValidation="False" runat="server" text="Cancel"></asp:button>
				<asp:validationsummary id="ValidationSummary1" runat="server"></asp:validationsummary>
			</td>
		</tr>
	</table>
</div>
